// RemoteTrackerChildFrame.cpp : implementation file
//

#include "stdafx.h"
#include "RemoteTracker.h"
#include "RemoteTrackerChildFrame.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CRemoteTrackerChildFrame

IMPLEMENT_DYNCREATE(CRemoteTrackerChildFrame, CMDIChildWnd)

CRemoteTrackerChildFrame::CRemoteTrackerChildFrame()
{
}

CRemoteTrackerChildFrame::~CRemoteTrackerChildFrame()
{
}


BEGIN_MESSAGE_MAP(CRemoteTrackerChildFrame, CMDIChildWnd)
	//{{AFX_MSG_MAP(CRemoteTrackerChildFrame)
	ON_WM_CREATE()
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CRemoteTrackerChildFrame message handlers

int CRemoteTrackerChildFrame::OnCreate(LPCREATESTRUCT lpCreateStruct) 
{
	if (CMDIChildWnd::OnCreate(lpCreateStruct) == -1)
		return -1;
	
	// TODO: Add your specialized creation code here
// 	if (!m_wndToolBar.CreateEx(this, TBSTYLE_FLAT, WS_CHILD | WS_VISIBLE | CBRS_TOP
// 		| CBRS_GRIPPER | CBRS_TOOLTIPS | CBRS_FLYBY | CBRS_SIZE_DYNAMIC) ||
// 		!m_wndToolBar.LoadToolBar(IDR_REMOTETYPE))
// 	{
// 		AfxMessageBox("tool bar ok");
// 		TRACE0("Failed to create toolbar\n");
// 		return -1;      // fail to create
// 	}
	return 0;
}
